home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 3.iso / dist / fw_qt3.idb / usr / freeware / Qt / bin / qtrename140.z / qtrename140
Text File  |  2002-04-08  |  5KB  |  123 lines

  1. #!/usr/bin/perl -pi.oldnames
  2. #
  3. #  Perl script to change programs to use the longer header-file names
  4. #  introduced in Qt version 1.40.  Note that Qt is distributed with
  5. #  compatilibity headers making this program unnecessary at present,
  6. #  but which may be discontinued in Qt 2.0.
  7. #
  8. #  This is version 1.0 of the conversion script.
  9. #
  10. #
  11. #  Copyright (C) 1998 by Trolltech AS.
  12. #
  13. #  Permission to use, copy, modify, and distribute this software and its
  14. #  documentation for any purpose and without fee is hereby granted,
  15. #  provided that the above copyright notice appear in all copies, that
  16. #  both that copyright notice and this permission notice appear in
  17. #  supporting documentation, and that any modifications are clearly
  18. #  annotated as not originating from the copyright holder.
  19. #
  20. #  This file is provided AS IS with no warranties of any kind.  The author
  21. #  shall have no liability with respect to the infringement of copyrights,
  22. #  trade secrets or any patents by this file or any part thereof.  In no
  23. #  event will the author be liable for any lost revenue or profits or
  24. #  other special, indirect and consequential damages.
  25. #
  26.  
  27. s/\bqapp\./qapplication./g if /#include/;
  28. s/\bQAPP_H\b/QAPPLICATION_H/g if /#if/;
  29. s/\bqbitarry\./qbitarray./g if /#include/;
  30. s/\bQBITARRY_H\b/QBITARRAY_H/g if /#if/;
  31. s/\bqbttngrp\./qbuttongroup./g if /#include/;
  32. s/\bQBTTNGRP_H\b/QBUTTONGROUP_H/g if /#if/;
  33. s/\bqchkbox\./qcheckbox./g if /#include/;
  34. s/\bQCHKBOX_H\b/QCHECKBOX_H/g if /#if/;
  35. s/\bqclipbrd\./qclipboard./g if /#include/;
  36. s/\bQCLIPBRD_H\b/QCLIPBOARD_H/g if /#if/;
  37. s/\bqcollect\./qcollection./g if /#include/;
  38. s/\bQCOLLECT_H\b/QCOLLECTION_H/g if /#if/;
  39. s/\bqcombo\./qcombobox./g if /#include/;
  40. s/\bQCOMBO_H\b/QCOMBOBOX_H/g if /#if/;
  41. s/\bqconnect\./qconnection./g if /#include/;
  42. s/\bQCONNECT_H\b/QCONNECTION_H/g if /#if/;
  43. s/\bqdatetm\./qdatetime./g if /#include/;
  44. s/\bQDATETM_H\b/QDATETIME_H/g if /#if/;
  45. s/\bqdrawutl\./qdrawutil./g if /#include/;
  46. s/\bQDRAWUTL_H\b/QDRAWUTIL_H/g if /#if/;
  47. s/\bqdstream\./qdatastream./g if /#include/;
  48. s/\bQDSTREAM_H\b/QDATASTREAM_H/g if /#if/;
  49. s/\bqfiledlg\./qfiledialog./g if /#include/;
  50. s/\bQFILEDLG_H\b/QFILEDIALOG_H/g if /#if/;
  51. s/\bqfileinf\./qfileinfo./g if /#include/;
  52. s/\bQFILEINF_H\b/QFILEINFO_H/g if /#if/;
  53. s/\bqgmanagr\./qgmanager./g if /#include/;
  54. s/\bQGMANAGR_H\b/QGMANAGER_H/g if /#if/;
  55. s/\bqgrpbox\./qgroupbox./g if /#include/;
  56. s/\bQGRPBOX_H\b/QGROUPBOX_H/g if /#if/;
  57. s/\bqiodev\./qiodevice./g if /#include/;
  58. s/\bQIODEV_H\b/QIODEVICE_H/g if /#if/;
  59. s/\bqlcdnum\./qlcdnumber./g if /#include/;
  60. s/\bQLCDNUM_H\b/QLCDNUMBER_H/g if /#if/;
  61. s/\bqlined\./qlineedit./g if /#include/;
  62. s/\bQLINED_H\b/QLINEEDIT_H/g if /#if/;
  63. s/\bqmenudta\./qmenudata./g if /#include/;
  64. s/\bQMENUDTA_H\b/QMENUDATA_H/g if /#if/;
  65. s/\bqmetaobj\./qmetaobject./g if /#include/;
  66. s/\bQMETAOBJ_H\b/QMETAOBJECT_H/g if /#if/;
  67. s/\bqmlined\./qmultilineedit./g if /#include/;
  68. s/\bQMLINED_H\b/QMULTILINEEDIT_H/g if /#if/;
  69. s/\bqmultilinedit\./qmultilineedit./g if /#include/;
  70. s/\bQMULTILINEDIT_H\b/QMULTILINEEDIT_H/g if /#if/;
  71. s/\bqmsgbox\./qmessagebox./g if /#include/;
  72. s/\bQMSGBOX_H\b/QMESSAGEBOX_H/g if /#if/;
  73. s/\bqpdevmet\./qpaintdevicemetrics./g if /#include/;
  74. s/\bQPDEVMET_H\b/QPAINTDEVICEMETRICS_H/g if /#if/;
  75. s/\bqpmcache\./qpixmapcache./g if /#include/;
  76. s/\bQPMCACHE_H\b/QPIXMAPCACHE_H/g if /#if/;
  77. s/\bqpntarry\./qpointarray./g if /#include/;
  78. s/\bQPNTARRY_H\b/QPOINTARRAY_H/g if /#if/;
  79. s/\bqpopmenu\./qpopupmenu./g if /#include/;
  80. s/\bQPOPMENU_H\b/QPOPUPMENU_H/g if /#if/;
  81. s/\bqprndlg\./qprintdialog./g if /#include/;
  82. s/\bQPRNDLG_H\b/QPRINTDIALOG_H/g if /#if/;
  83. s/\bqprogbar\./qprogressbar./g if /#include/;
  84. s/\bQPROGBAR_H\b/QPROGRESSBAR_H/g if /#if/;
  85. s/\bqprogdlg\./qprogressdialog./g if /#include/;
  86. s/\bQPROGDLG_H\b/QPROGRESSDIALOG_H/g if /#if/;
  87. s/\bqpsprn\./qpsprinter./g if /#include/;
  88. s/\bQPSPRN_H\b/QPSPRINTER_H/g if /#if/;
  89. s/\bqpushbt\./qpushbutton./g if /#include/;
  90. s/\bQPUSHBT_H\b/QPUSHBUTTON_H/g if /#if/;
  91. s/\bqradiobt\./qradiobutton./g if /#include/;
  92. s/\bQRADIOBT_H\b/QRADIOBUTTON_H/g if /#if/;
  93. s/\bqrangect\./qrangecontrol./g if /#include/;
  94. s/\bQRANGECT_H\b/QRANGECONTROL_H/g if /#if/;
  95. s/\bqscrbar\./qscrollbar./g if /#include/;
  96. s/\bQSCRBAR_H\b/QSCROLLBAR_H/g if /#if/;
  97. s/\bqsocknot\./qsocketnotifier./g if /#include/;
  98. s/\bQSOCKNOT_H\b/QSOCKETNOTIFIER_H/g if /#if/;
  99. s/\bqtabdlg\./qtabdialog./g if /#include/;
  100. s/\bQTABDLG_H\b/QTABDIALOG_H/g if /#if/;
  101. s/\bqtablevw\./qtableview./g if /#include/;
  102. s/\bQTABLEVW_H\b/QTABLEVIEW_H/g if /#if/;
  103. s/\bqtstream\./qtextstream./g if /#include/;
  104. s/\bQTSTREAM_H\b/QTEXTSTREAM_H/g if /#if/;
  105. s/\bqfiledef\./qfiledefs./g if /#include/;
  106. s/\bQFILEDEF_H\b/QFILEDEFS_H/g if /#if/;
  107. s/\bqfontdta\./qfontdata./g if /#include/;
  108. s/\bQFONTDTA_H\b/QFONTDATA_H/g if /#if/;
  109. s/\bqfontinf\./qfontinfo./g if /#include/;
  110. s/\bQFONTINF_H\b/QFONTINFO_H/g if /#if/;
  111. s/\bqfontmet\./qfontmetrics./g if /#include/;
  112. s/\bQFONTMET_H\b/QFONTMETRICS_H/g if /#if/;
  113. s/\bqintcach\./qintcache./g if /#include/;
  114. s/\bQINTCACH_H\b/QINTCACHE_H/g if /#if/;
  115. s/\bqobjdefs\./qobjectdefs./g if /#include/;
  116. s/\bQOBJDEFS_H\b/QOBJECTDEFS_H/g if /#if/;
  117. s/\bqpaintd\./qpaintdevice./g if /#include/;
  118. s/\bQPAINTD_H\b/QPAINTDEVICE_H/g if /#if/;
  119. s/\bqpaintdc\./qpaintdevicedefs./g if /#include/;
  120. s/\bQPAINTDC_H\b/QPAINTDEVICEDEFS_H/g if /#if/;
  121. s/\bqwindefs\./qwindowdefs./g if /#include/;
  122. s/\bQWINDEFS_H\b/QWINDOWDEFS_H/g if /#if/;
  123.